package com.dudu.service;

import com.dudu.dao.OrgInfoDao;
import com.dudu.model.OrgInfo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by dudu on 16/12/15.
 */
@Service
public class OrgService {
    
    @Resource
    private OrgInfoDao orgInfoDao;
    
    public OrgInfo getById(Long id) {
        return orgInfoDao.getById(id);
    }

    public int create(String name) {
        return 0;
    }

    public void joinOrg(Long orgId) {

    }
}
